package com.gcu.drivingschool.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;


/**
 * 登录信息实体
 * @author zzr
 * @create 2024-04-18-15:44
 */
@Schema(description = "登录信息实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginDto {
    /**
     * 账号（手机号）
     */
    @Schema(description = "账号（手机号）")
    @NotBlank
    private String telephone;
    /**
     * 密码
     */
    @Schema(description = "密码")
    @NotBlank
    private String password;
    /**
     * 登录用户类型
     */
    @Schema(description = "登录用户类型")
    @NotBlank
    private String type;
}
